Part Number Hot Search : 
AC115 3E212 AM29LV 73K224BL ST150A18 MP7533JN DHE05M 12400
Product Description
Full Text Search
 

To Download HIP7010B Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 advance information august 1996 hip7010 j1850 byte level interface circuit features ? fully supports vpw (variable pulse width) messaging practices of sae j1850 standard for class b data communications network interface - 3-wire, high-speed, synchronous, serial interface ? reduces wiring overhead ? directly interfaces with 68hc05 and 68hc11 style spi ports ? 1mhz, 8-bit transfers between host and hip7010 minimize host service requirements ? automatically transmits properly framed messages ? prepends sof to first byte and appends crc to last byte ? fail-safe design including, slow clock detection circuitry, prevents j1850 bus lockup due to system errors or loss of input clock ? automatic collision detection ? end of data (eod), break, idle bus, and invalid symbol (noise/illegal symbols) detection ? supports in-frame responses with generation of normalization bits (nb) for type 1, type 2, and type 3 messages ? wait-for-idle mode reduces host overhead during non-applicable messages ? status register flags provide information on current status of j1850 bus ? serial i/o pins are active only during transfers - bus available for other devices 95% of the time ? test pin provides built-in-test capabilities for in-system diagnostics and factory testing ? high speed (4x) receive mode for production and diagnostic testing/programming ? operates with wide range of input clock frequencies ? power-saving power-down mode ? full -40 o c to +125 o c operating range ? single 3.0v to 6.0v supply description the intersil hip7010, j1850 byte level interface circuit, is a member of the intersil family of low-cost multiplexed wiring ics. the integrated functions of the hip7010 provide the system designer with components key to building a class b multiplexed communications network interface, which fully conforms to the vpw multiplexed wiring protocol speci?ed in the sae j1850 standard. the hip7010 is designed to interface with a wide variety of host microcontrollers via a standard three wire, high-speed (1mhz), synchronous, serial interface. the hip7010 automatically produces properly framed vpw messages, prepending the start of frame (sof) symbol and calculating and appending the crc check byte. all circuitry needed to decode incoming mes- sages, to validate crc bytes, and to detect breaks, end of data (eod), idle bus, and illegal symbols is included. in- frame responses (ifrs) are fully supported for type 1, type 2, and type 3 messages, with the appropriate normal- ization bit automatically generated. the hcmos design allows proper opesration at various input frequencies from 2mhz to 12mhz. connection to the j1850 bus is via a inter- sil hip7020. pinout hip7010 (soic, pdip) top view ordering information part number temp. range ( o c) package pkg. no. hip7010p -40 +125 14 lead plastic dip e14.3 HIP7010B -40 +125 14 lead plastic soic (n) m14.15 idle vpwin vpwout v dd reset test sa ctive rdy stat clk v ss sin sout sck 1 2 3 4 5 6 7 14 13 12 11 10 9 8 file number 3644.2 caution: these devices are sensitive to electrostatic discharge; follow proper ic handling procedures. www.intersil.com or 407-727-9207 | copyright ? intersil corporation 1999
2 block diagram 10 9 sout sin 7 6 5 12 test v ss 11 clk 13 14 1 8 stat rdy sck 2 3 vpwout generator timing state machine and control logic decoded vpw in output data j1850 vpw symbol encoder/decoder lsb msb status/control byte v dd 4 a b c mux crc generator/checker a b mux data shift register idle reset sa ctive vpwin pin description pin number pin name in/out pin description 1 idle out cmos output 2 vpwin in cmos schmitt (no v dd diode) 3 vpwout out cmos output 4v dd - power supply 5 reset in cmos schmitt (no v dd diode) 6 test in cmos input with pull-down 7 sa ctive out cmos output 8 sck out three-state with pull-down 9 sout out three-state with pull-down 10 sin in cmos input with pull-down 11 v ss - ground 12 clk in cmos schmitt (no v dd diode) 13 stat in cmos input with pull-down 14 rdy in cmos input with pull-down hip7010
3 absolute maximum ratings thermal information supply voltage (v dd ) . . . . . . . . . . . . . . . . . . . . . . . . .-0.3v to +7.0v input or output voltage pins with v dd diode . . . . . . . . . . . . . . . . . . . .-0.3v to v dd +0.3v pins without v dd diode . . . . . . . . . . . . . . . . . . . . -0.3v to +10.0v esd classi?cation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . class 2 gate count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +2500 gates thermal resistance q ja plastic dip package . . . . . . . . . . . . . . . . . . . . . . . . . .+100 o c/w soic package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .+120 o c/w maximum package power dissipation at +125 o c dip package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250mw soic package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200mw operating temperature range (t a ) . . . . . . . . . . . -40 o c to +125 o c storage temperature range (t stg ). . . . . . . . . . . -65 o c to +150 o c junction temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +150 o c lead temperature (soldering, 10s). . . . . . . . . . . . . . . . . . . . +265 o c caution: stresses above those listed in absolute maximum ratings may cause permanent damage to the device. this is a stress o nly rating and operation of the device at these or any other conditions above those indicated in the operational sections of this speci?cation is not im plied. operating conditions operating voltage range . . . . . . . . . . . . . . . . . . . . . +3.0v to +5.5v operating temperature range . . . . . . . . . . . . . . . . -40 o c to +125 o c input low voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0v to +0.8v input high voltage . . . . . . . . . . . . . . . . . . . . . . . . . .(0.8v dd ) to v dd input rise and fall time cmos inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100ns max cmos schmitt inputs . . . . . . . . . . . . . . . . . . . . . . . . . . .unlimited electrical speci?cations t a = -40 o c to +125 o c, v dd = 5v dc 10%, unless otherwise speci?ed parameters symbol conditions min typ max units supply current operating current i op clk = 2.0 mhz - 1.0 5.0 ma power-down mode (note 1) i pd pd = 1 - 50 150 m a clock stopped (note 2) i stop clk = v ss or v dd - 5.0 50 m a input high voltage cmos level (sin, stat, rdy, test) v ih 0.7v dd -v dd v schmitt trigger ( reset, clk, vpwin) 0.8v dd -v dd v input low voltage cmos level (sin, stat, rdy, test) v il v ss - 0.3v dd v schmitt trigger ( reset, clk, vpwin) v ss - 0.2v dd v high level input current (clk, vpwin, reset) i ih v in = v dd -1 0.001 1 m a input buffer with pull-down (sin, test, stat, rdy) 100 200 500 m a low level input current (clk, vpwin, reset) i il v in = v ss -1 -0.001 1 m a input buffer with pull-down (sin, test, stat, rdy) -10 -0.01 10 m a output high voltage (sck, sout, vpwout, idle, sactive) v oh i load = 0.8 ma v dd -0.8 - - v output low voltage (sck, sout, vpwout, idle, sa ctive) v ol i load = -1.6 ma - - 0.4 v high impedance leakage current three-state with pull-down (sck, sout) i oz v out = v dd 100 200 500 m a v out = v ss -10 10 m a schmitt trigger hysteresis voltage ( reset, clk, vpwin) v hys 0.2 0.5 2.0 v notes: 1. sin, stat, rdy, and test = v ss ; sa ctive, sck, and sout unconnected; vpwin = v dd ; clk = 10mhz. 2. sin, stat, rdy, and test = v ss ; sa ctive, sck, and sout unconnected; vpwin = v dd ; pd = 1. hip7010
4 serial interface timing (see figure 1- figure 7) t a = -40 o c to +125 o c, v dd = 5v dc 10%, unless otherwise speci?ed number symbol parameters min typ max units - - operating frequency 2 8 12 mhz - - input clk duty cycle 40 50 60 % (1) t cyc sck cycle time - 1.0 - mhz (2) t lead sactive lead time before status/control transfer 450 750 850 ns before data transfer 1150 1225 1300 ns (3) t lag sactive lag time after status/control transfer 650 750 850 ns after data transfer 1250 1300 1400 ns (4) t sckh clock (sck) high time 450 500 550 ns (5) t sckl clock (sck) low time 450 500 550 ns (6) t dvsck required data in setup time (sin to sck) - 10 50 ns (7) t sckdx required data in hold time (sin after sck) - -10 40 ns (8) t dzda data active from high impedance delay ( sactive to sout active) -10 10 - ns (9) t dadz data active to high impedance delay ( sactive to sout high impedance) -1040ns (10) t dvsck data out setup time ( sout to sck ) 375 475 - ns (11) t dxsck data out hold time (sout after sck) 375 475 - ns (12) t rise output rise time (0.3v dd to 0.7v dd , c l = 100pf) 15 75 150 ns (13) t fall output fall time (0.7v dd to 0.3v dd , c l = 100pf) 725 75 ns (14) t stath required stat pulse width - 20 75 ns (15) t rdyh required rdy pulse width - 20 75 ns t resetl required reset pulse width - 20 75 ns (16) t sactive sactive delay from rdy ( idle = v ss ) 1150 1750 2450 ns sactive delay from stat (ftu = 0) 5 285 900 ns (17) t rdysck required rdy removal time prior to last sck for short rdy - 25 100 ns (18) t sckrdy required rdy hold time after last sck for long rdy - 0 100 ns (19) t rec required serial recovery time (minimum time after sactive until next rdy/stat) - 675 750 ns f slow slow clock detect frequency limit 20 80 200 khz note: 1. all parameters are speci?cations of the hip7010 component not of a system. parameters speci?ed as required (i.e., t s tat h ) refer to the requirements of the hip7010. if a required pulse width is speci?ed as 75ns maximum, that implies that 75ns is the maximum width that any hip7010 device will require. therefore, a system that provides a minimum pulse width of 75ns will satisfy this maximum requirement. hip7010
5 functional pin description this section provides a description of each of the 14 pins of the hip7010 as shown in figure 2. v dd and v ss (power) power is supplied to the hip7010 using these two pins. v dd is connected to the positive supply and v ss is connected to the negative supply. clk (clock - input) the clock input (clk) provides the basic time base refer- ence for all j1850 symbol detection and generation. serial bus transfers between the hip7010 and the host microcon- troller are also timed based on the clock input. proper vpw symbol detection and generation requires a 2mhz clock which is internally derived from the clk input. various clk input frequencies can be accommodated via the divide select bits in the status/control register (see status/con- trol register for details). an internal slow clock detect circuit monitors the clk input signal and generates a hip7010 reset if the clock is inactive for more than 1/f slow . this is a safety mechanism to prevent blocking the j1850 and serial busses in the event of a clock failure. the slow clock detect reset can also be intentionally invoked by externally inhibiting clk input transitions. power can be reduced under host control via the powerdown bit in the status/control register (see status/control regis- ter for details). setting the power-down bit effectively stops internal clocking of the hip7010. (output) sck (output) sin (input) sout (output) d7i d6i d0i d7o d6o d0o (6) (11) (8) (5) (12) (13) (1) (4) (7) sa ctive (input) rdy (long) (input) rdy (short) stat (input) (2) (10) (9) (3) (14) (15) (16) (17) (18) (19) figure 1. serial interface timing diagram notes: 1. measurement points are from v dd /2, except 12 and 13 which are measured between v il and v ih. 2. all timings assume proper clk frequency and divide select values to generate 1mhz sck. idle vpwin vpwout v dd reset test sa ctive rdy stat clk v ss sin sout sck 1 2 3 4 5 6 7 14 13 12 11 10 9 8 figure 2. 14 pin dip and so terminal assignments hip7010
6 for enhanced noise immunity, the clk input is a cmos schmitt trigger input. see electrical speci?cations for input levels. vpwout (variable pulse width out - output), vpwin (variable pulse width in - input) these two lines are used to interface to a j1850 bus trans- ceiver, such as the intersil hip7020. vpwout is the vari- able pulse width modulated output of the hip7010s symbol encoder circuit. vpwin is the inverted input to the symbol decoder of the hip7010. vpwin is a schmitt input. sin (serial in - input), sout (serial out - output), sck (serial clock - output), sa ctive (serial bus active - output) these four lines constitute the synchronous serial interface (serial) interface of the hip7010. see the serial interface (serial) system for details. sin, sout, and sck provide the three principal connections to the host controller. sin is a cmos input. sout and sck are three-state outputs which are only activated during serial transfers. the sin, sout, and sck pins contain integrated pull-down load devices which provide termination on the bus whenever it is in a high imped- ance state. the sactive pin is a cmos output, which pulls low when the hip7010 is communicating on the serial bus. see serial interface (serial) system and applications information for more details. rdy (byte ready - input) the byte ready (rdy) line is a handshaking input from the host. each rising edge on the rdy pin signi?es that the host has loaded a byte into its serial transmit register and the hip7010 can retrieve it (by generating clocks on sck) when the hip7010 is ready for the data. see serial interface (serial) system and applications information for more details. the rdy pin contains an integrated pull-down load device which will hold the pin low if it is left unconnected. idle (idle/service request - output) the idle output pin indicates that the j1850 bus has been in a passive state for at least 275 m s and is now idle. if the bus has been passive for a minimum of 239 m s and another node initiates a new message, idle will pulse low for 1 m s. in its role as a service request pin, a reset forces idle high. following the reset, idle remains high for 17 clk cycles and is then driven low. idle will remain low until 40 clk cycles +1.5 m s after completion of the ?rst status/con- trol byte transfer. the idle pin will then resume its normal role, remaining high until a 275 m s lull (or 239 m s plus a pas- sive to active transition) has been detected on the j1850 bus. this provides a handshake mechanism to ensure the host will reinitialize the hip7010 each time the hip7010 is reset via por, reset, or slow clock detect. if idle is low when an echo failure causes the err bit to be set in the status byte, the idle pin will pulse high for 2 m s and then return low (see status/control register). if idle is low when the host sets the nxt bit in the control byte, the idle pin will pulse high for 2 m s and then return low (see status/control register). in general a status/control byte transfer should be performed each time idle goes low. see effects of resets and power- down and applications information for more details. the idle pin is an active low cmos output. see operation of the hip7010 for more details. stat (request status/control - input) the request status/control (stat) input pin is used by the host microcontroller to initiate an exchange of the hosts con- trol byte and the hip7010s status byte. a low to high transi- tion on the stat input signals the hip7010 that the host has placed a control word in its serial output register and is ready to exchange it with the hip7010s status word. the hip7010 controls the exchange by generating the 8 scks required. see serial interface (serial) system and appli- cations information for more details. the stat pin contains an integrated pull-down load device which will hold the pin low if it is left unconnected. reset (reset - input) the reset input is a low level active input, which resets the hip7010. resetting the hip7010 forces sa ctive high, dis- ables the sout and sck pins, forces the vpwout output low, drives idle high, and returns the internal state machine to its initial state. following reset, the hip7010 is inhibited from transmitting or receiving j1850 messages until a sta- tus/control register transfer has been completed (see effects of resets and power-down for more details). the hip7010 is also reset during initial power-on, by an internal power-on-reset (por) circuit. loss of a clock on the clk input will cause a reset as described previously under clk . if not used, the reset pin should be tied to v dd . for enhanced noise immunity, the reset input is a cmos schmitt trigger input. see electrical speci?cations for input levels. test (test mode - input) the test input provides a convenient method to test the hip7010 at the component level. raising the test pin to a high level causes the hip7010 to enter a special test mode. in the test mode, a special portion of the state machine is activated which provides access to the built-in-test and diag- nostic capabilities of the hip7010 (see test mode for more details). the test pin contains an integrated pull-down load device which will hold the pin low if it is left unconnected. in many applications the test pin will be left unconnected, to allow access via a board level ate tester. hip7010
7 j1850 vpw messaging this section provides an introduction to j1850 multiplexed communications. it is assumed that the user is or will become familiar with the appropriate documents published by the society of automotive engineering (sae). the follow- ing discussion is not comprehensive. overview the sae j1850 standard (note 1) (j1850) establishes the requirements for communications on a class b multiplexed wiring network for automotive applications. the j1850 docu- ment details the requirements in a three layer description which separately speci?es the characteristics of the physical layer , the data link layer , and the application layer . there are several options within each layer which allows vehicle manu- facturers to customize the network while still maintaining a level of universality. note: 1. sae j1850 standard, class b data communication network interface , may 1994, society of automotive engineers inc. the hardware of the intersil hip7010 provides features which facilitate implementation of the 10.4kbps variable pulse width modulated (vpw) physical layer option of j1850. in combination with a bus transceiver, such as the intersil j1850 bus transceiver hip7020, and appropriate software algorithms, the hip7010 circuitry enables the designer to completely implement a 10.4kbps vpw class b communications network interface per j1850. features of such an implementation include: ? single wire 10.4kbps communications ? bit-by-bit bus arbitration ? industry standard protocol ? message acknowledgment (in-frame response) capa- bilities ? exceptionally tolerant of clock skew, system noise, and ground offsets ? meets carb and epa diagnostic requirements ? supports up to 32 nodes ? low error rates ? excellent emc levels (when interfaced via intersil j1850 bus transceiver hip7020) in addition to the standard j1850 features, the hip7010 hard- ware provides a high speed mode, (intended for receive only use) which can signi?cantly enhance vehicle maintenance capabilities. the high speed mode provides a 41.6kbps com- munications path to any node built with the hip7010. anatomy of a j1850 vpw message all messages in a j1850 vpw system are sent along a single wire, shared bus. at any given moment the bus can be in either of two states: active (high) or passive (low). multiple nodes are connected to the bus as a wired-or network in which the bus is high if any one (or more) node is generating an active output. the bus is only low when no nodes are gen- erating active outputs. it follows that, when no communica- tions are taking place the bus will rest in the passive state. a message begins when the bus is ?rst driven to the high state. each succeeding state transition (i.e., a change from active to passive or passive to active) transfers one bit of information ( symbol ) until the message is complete and the bus once again rests at the passive state. the interpretation of each symbol in the message is dependent on its duration (and state), hence, the descriptor variable pulse width (vpw). each message has a beginning and an end, the span of which encompasses the entire message or frame (refer to figure 3). a frame consists of an active start of frame (sof) symbol and a passive end of frame (eof) symbol sandwiched around a series of byte sized (8-bit) groups of symbols. the ?rst byte of the frame contents is always a header byte, fol- lowed by possibly additional header bytes, followed by one or more data bytes, followed by an integrity check byte ( crc byte), followed by a passive end of data (eod) symbol, fol- lowed by possibly one or more in-frame-response (ifr) bytes. to keep waiting times low, messages are limited to 12 bytes total (including header, data, check, and ifr bytes). all mes- sage bytes are transmitted most signi?cant bit (msb) ?rst. vpw symbol de?nitions within the j1850 scheme, symbols are de?ned in terms of both duration and state (passive or active). the duration is mea- sured as the time between successive transitions. there is one transition per symbol and one symbol per transition. the end of one symbol marks the beginning of the next. since the bus is passive when a message begins and must return to that same state when the message completes, all frames have an even number of transitions and hence an even number of symbols. there are unique de?nitions for data bit symbols (all the sym- bols which occur within the header, data, and check bytes) and protocol symbols (including sof, eod, and eof). the duration of each symbol is expressed in terms of vpw timing pulses (tv values). table 1 summarizes the tv de?nitions. each tv is speci?ed in terms of a nominal (or ideal) duration and a mini- mum and maximum duration. the span between the minimum and maximum limits accommodates system noise sources such as node to node clock skew, ground offsets, clock jitter, and electromechanical noise. there are no dead zones between the maximum of one tv and the minimum of the next. sof header data 1 data 2 crc eod eof figure 3. typical j1850 vpw message frame hip7010
8 the terms short and long are often used to refer to pulses of duration tv1 and tv2 respectively. vpw is a non-return-to-zero (nrz) protocol in which each transition represents a complete bit of information. accord- ingly, a 0 data bit will sometimes be transmitted as a passive pulse and sometimes as an active pulse. similarly, a 1 data bit will sometimes be transmitted as a passive pulse and sometimes as an active pulse. in order to accommodate arbitration (see bus arbitration ) a long active pulse repre- sents a 0 data bit and a short active pulse represents a 1 data bit. complementing this fact, a short passive pulse rep- resents a 0 and a long passive pulse represents a 1. starting from a transition to the active state, a 0 data bit will maintain the active level longer than a 1. similarly, starting from a transition to the passive state, a 0 data bit will return to the active level quicker than a 1. these facts give rise to the dominance of 0s over 1s on the j1850 bus as depicted in figure 4. see bus arbitration for additional details. table 2 summarizes the complete set of symbol de?nitions based on duration and state. in frame response (ifr) the distinction between two of the passive symbols, eod and eof, is subtle but important (refer to figure 5). the eod (tv3) interval signi?es that the originator of the message is done broadcasting and any nodes which have been requested to respond (i.e., to acknowledge receipt of the message) can now do so. the eod interval begins when the transmitting node has completed sending the eighth bit of the check byte. the trans- mitter simply releases the bus and allows it to revert to a pas- sive state. in the course of normal messaging, no node can seize the bus until an eod time has been detected. once an eod has elapsed, any nodes which are scheduled to produce an ifr will arbitrate for control of the bus (see bus arbitration ) and respond appropriately. if no responses are forthcoming the bus remains in the passive state until an eof (tv4) interval has elapsed. after the eof has been generated, the frame is considered closed and the next communications on the bus will represent a totally new message. ifrs can consist of multiple bytes from a single respondent, one byte from a single respondent, or one byte from multiple respondents. in all cases the ?rst response byte must be pre- ceded by a normalization bit (nb) which serves as a start of response symbol and places the bus in an active state so that following the ifr byte(s) the bus will be left in the passive state. the nb symbol is by de?nition active, but can be either tv1 or tv2 in duration. the long variety (tv2) signi?es the ifr contains a crc byte. the short variety (tv1) precedes an ifr without crc. message types messages are classi?ed into one of four types according to whether the message has an ifr and what kind of ifr it is. the de?nitions are: ? type 0 - no ifr ? type 1 - one byte ifr from a single respondent (no crc byte) ? type 2 - one byte ifrs from multiple respondents (no crc byte) ? type 3 - multiple byte ifr from a single respondent (crc appended) table 1. j1850 tv definitions tv id duration (all times in m s) minimum nominal maximum illegal 0 na 34 tv1 >34 64 96 tv2 >96 128 163 tv3 >163 200 239 tv4 >239 280 na tv5 >239 300 na tv6 >280 300 na bit data 0 bit data 1 bus j1850 synchronized pulse (0) longer active 0 0 1 controls the bus figure 4a. dominance of active 0 data bit bit data 0 bit data 1 bus j1850 synchronized pulse (0) shorter passive 0 0 1 controls the bus figure 4b. dominance of passive 0 data bit figure 4. table 2. j1850 symbol definitions symbol definition 0 data passive tv1 or active tv2 1 data active tv1 or passive tv2 sof (start of frame) active tv3 eod (end of data) passive tv3 eof (end of frame) passive tv4 ifs (inter-frame separation) passive tv6 idle (idle bus) passive >tv6 nominal nb (normalization bit) activetv1 or active tv2 brk (break) active tv5 hip7010
9 bus arbitration the nature of multiplexed communications leads to contention issues when two or more nodes attempt to transmit on the bus simultaneously. within j1850 vpw systems, messages are assigned varying levels of priority which allows implementa- tion of an arbitration scheme to resolve potential contentions. the speci?ed arbitration is performed on a symbol by symbol basis throughout the duration of every message. arbitration begins with the rising edge of the sof pulse. no node should attempt to issue an sof until an idle bus has been detected (i.e., an inter-frame separation (ifs) symbol with a period of tv6 has been received). if multiple nodes are ready to access the bus and are all waiting for an ifs to elapse, invariable skews in timing components will cause one arbitrary node to detect the idle condition before all others and start transmission ?rst. for this reason, all nodes waiting for an ifs will consider an ifs to have occurred if either: 1. an ifs nominal period has elapsed or 2. an eof minimum period has elapsed and a rising edge has been detected arbitrating devices will all be synchronized during the sof. beginning with the ?rst data bit and continuing to the eof, every transmitting device is responsible for verifying that the symbol it sent was the symbol which appeared on the bus. each transition, every transmitting node must decode the symbol, verify the received symbol matches the one sent, and begin timing of the next symbol. since timing of the next sym- bol begins with the last transition detected on the bus, all transmitters are re-synchronized each symbol. when the received symbol doesnt match the symbol sent, a con?ict ( bit collision ) occurs. any device detecting a collision will assume it has lost arbitration and immediately relinquish the bus. typi- cally, after losing arbitration, a device will attempt retransmis- sion of the message when the bus once again becomes idle. the de?nition of 1 and 0 data bits (see table 2 and discussion under vpw symbol de?nitions ) leads to 0s having priority over 1s in this arbitration scheme. header bytes are generally assigned such that arbitration is completed before the ?rst data byte is transmitted. because of the dominance of 0 bits and the msb ?rst bit order, a header with the hexadecimal value $00 will have highest priority, then $01, $02, $03, etc. an example of two nodes arbitrating for control of the bus is shown in figure 6. arbitration also takes place during the ifr portion of a mes- sage, if more than one node is attempting to generate a response. arbitration begins with the nb symbol, which fol- lows the eod and precedes the ?rst ifr byte. for type 1 and type 3 messages only, the respondent which successfully arbitrates for control of the bus produces an ifr. all other respondents abort their ifrs. for type 2 messages, all respondents which lose arbitration must re-attempt transmission at the end of each byte. each node, which successfully responds, eliminates itself from the subsequent arbitration until all nodes have responded. this arbitration scheme limits each respondent to a single byte dur- ing a type 2 ifr. break to force a message to be aborted before eof is reached, a break (brk) symbol can be transmitted by any node. the brk symbol is an active pulse of duration tv5. reception of a break causes all nodes to reset to a ready-to-receive state and to re-arbitrate for control following an ifs. hip7010 architectural overview the hip7010 consists of three major functional blocks: the serial interface system (serial) block; the state machine (state) block; and the symbol encoder/decoder (sendec) block. transfers between the host and the hip7010 are con- trolled by the serial block, while transfers between the j1850 bus and the hip7010 are handled by the sendec figure 5. j1850 message with in-frame-response figure 6. two nodes arbitrating for control of j1850 bus sof header . . . . data n crc in frame response eod nb eod eof sof 000 000 0 1 1 00 header collision detected by b j1850 transmitter b transmitter a data 1 . . . data n crc eof ifs bus hip7010
10 block. the state block controls the ?ow of all data between the serial and sendec blocks. the state block also con- trols host/hip7010 handshaking, automatic j1850 bus arbi- tration, break recognition, crc checking, and many other features. in addition to the three major blocks the hip7010 includes crc generator/checker hardware, a status/control register, and a timing generator. timing generator the timing generator, as its name suggests, generates all internal timing pulses required for the serial, sendec, state, and crc circuits. the clk input pin is appropriately divided to produce an internal 2mhz clock which results in a 1mhz serial transfer rate and vpw j1850 symbol timing with 1 m s accuracy. the clk pin of the hip7010 can be driven with a variety of common microcontroller frequencies. fre- quency selection is accomplished via three bits in the sta- tus/control register. see status/control register for more details. the serial interface (serial) system overview the serial system handles all interface between the host microcontroller and the hip7010. the serial system is designed to interface directly with the serial peripheral inter- face (spi) systems of the intersil cdp68hc05 family of micro- controllers. identical interfaces are found on the 68hc11 and hc16 families. compatible systems are found on most popu- lar microcontrollers. serial data words are simultaneously transmitted and received over the sout/sin lines, synchronized to the sck clock stream. the word size is ?xed at 8-bits. a series of eight clocks is required to transfer one word. with the excep- tion of status/control register transfers (described later), all serial transfers use a single eight bit shift register within the hip7010. the serial bits are shifted out on the sout pin, most signi?cant bit (msb) ?rst, from the shift register. as each bit shifts out one end of the shift register, the data on the sin input pin is, usually, shifted into the other end of the same shift register. after eight clocks, the original contents of the shift register have been entirely transmitted on the sout pin and replaced by the byte received on the sin pin. most host micros which include a synchronous serial inter- face, operate their interface in a manner compatible with the hip7010s implementation. the result of each 8-bit serial transfer is that the contents of the hip7010s shift register and the hosts shift register have effectively been swapped. serial bus timing the sck output of the hip7010 is used to synchronize the movement of data both into and out of the device on its sin and sout lines. as stated above, the host and the hip7010 are capable of exchanging a byte of information during a sequence of eight clocks generated on the sck pin. the relationship between the clock signal on sck and the data on sin and sout is shown in figure 7. at least t lead prior to each series of eight clocks, the sac- tive output of the hip7010 is driven low. sactive remains low until a minimum of t lag after the last clock transition. when interfacing to a cdp68hc05 spi compatible host, the sactive output would normally be connected to the ss input of the host. the trailing edge of the sactive signal can also be used as a ?ag to hosts which dont automatically recognize the transfer of a serial byte. the quiescent state of sck is low. once a transfer is initi- ated, the rising edge of each sck pulse places the next bit on the sout line and the falling edge is used to latch the bit input on sin. the host must adhere to this same timing, by meeting the input setup time requirements of sin valid before the trailing edge of sck (see electrical speci?cation for details) and latching the sout data on the same edge. when interfacing the hip7010 to a cdp68hc05 spi compatible host, the spi inter- face should be programmed with cpha = 1 and cpol = 0. at all times, other than during an actual serial transfer between the hip7010 and its host, the sck and sout pins are held in a high impedance state. this allows other devices connected to the host via the serial bus to be accessed when the hip7010 is not transferring data. utilization of the serial bus by the hip7010 is less than 5%, leaving signi?- cant bandwidth for other transfers. when held in the high impedance state, a pair of integrated pull-down devices on the sck and sout pull the pins to ground, if they are not driven by another source. see applications information for a detailed discussion of serial bus utilization. sck sout sin sa ctive sck normally low msb msb 6 6 5 5 4 4 3 3 2 2 1 1 lsb lsb internal strobe for latching data in hip7010 msb 6 5 4 3 2 1 lsb figure 7. serial bus timing hip7010
11 serial bus transfers the hip7010 is always con?gured as a serial master. as a master, the hip7010 generates the transfer-synchronizing clock on the sck pin, transmits data on the sout pin, and receives data on the sin pin. whenever the hip7010 receives a complete byte from the j1850 bus via the vpwin line, it automatically initiates an unsolicited serial transfer. the unsolicited transfer trans- mits the received (or re?ected) byte to the host and, if in the midst of transmitting a message, retrieves the next byte from the host. while these unsolicited transfers are, strictly speaking, asynchronous to the hosts activities, there are well de?ned rules which govern the minimum time between unsolicited transfers (i.e., no two unsolicited transfers can occur in less time than it takes to transfer one j1850 byte (8 x 64 = 512 m s). see applications information for more details. in addition to the unsolicited transfers which are based on receipt of incoming j1850 messages, the host can initiate certain transfers in a more synchronous fashion. handshak- ing between the host and the hip7010 is provided by the byte ready (rdy) and request status (stat) pins. these two pins are driven by the host and trigger the hip7010 to initiate one of the two, unique, solicited serial transfers. the byte ready (rdy) line is the ?rst of two handshaking inputs from the host. each rising edge on the rdy pin signi- ?es that the host has loaded a byte into its serial transmit register and the hip7010 can retrieve it. if the j1850 bus is available (i.e., ifs has elapsed) the rising edge of rdy is interpreted as signalling the ?rst byte of a new message. the hip7010 immediately performs a solicited serial transfer to load the ?rst byte. prior to performing the transfer, the hip7010 drives the j1850 bus high to initiate an sof sym- bol. the sof is then followed by the eight symbols which represent the transferred byte. if a j1850 message is already in progress, the rising edge of rdy is interpreted as signalling that the next byte of the message or of an ifr is ready to be transferred from the host. the hip7010 will ini- tiate the transfer, as an unsolicited transfer, when conditions on the j1850 bus warrant the transfer (i.e., when the previ- ously retrieved byte has been completely transmitted on the j1850 bus or after eod for an ifr). while the rising edge of rdy is used to notify the hip7010 that the host is ready to supply the next byte, the level of rdy following the actual serial transfer provides additional information. figure 1 depicts the use of rdy. by driving the rdy line high and returning it low before the transfer has been completed, the hip7010 will detect a low. this is referred to as a short rdy . if the rdy line is brought high and held high until the transfer is complete, a high level is detected by the hip7010. this is referred to as a long rdy . a short rdy signals a normal transfer, but a long rdy has special signi?cance. a long rdy indicates that the byte cur- rently sitting within the host is the last byte of a message or of an ifr. when transmitting the body of a message or a type 3 ifr the hip7010 will automatically append the crc after the byte for which the long rdy was used. when responding with a type 1 or type 2 ifr the response is a single byte, and as such it is always the last byte. for sake of consistency the hip7010 requires a long rdy for type 1 and type 2 ifrs. see status/control register and application information for more details. the other handshaking input is the request status/control (stat) input pin. stat is used by the host microcontroller to initiate an exchange of the hosts control byte and the hip7010s status byte . a low to high transition on the stat input signals the hip7010 that the host has placed a control word in its serial output register and is ready to exchange it with the hip7010s status word. the hip7010 will generate the eight scks for the solicited transfer as soon as feasible. to avoid confusion with the transfer of a received j1850 byte, stat should generally be pulsed shortly after receiving each data byte from the hip7010. this technique is safe, because once a j1850 message byte has been received from or sent to the hip7010, another unsolicited transfer is guaranteed not to happen for at least 500 m s. a control/sta- tus byte transfer should also be performed in response to each high to low transition on the idle line. see applica- tion information for more details. status/control register the status/control register is actually a pair of registers: the status register and the control register. when the host initiates a status/control register transfer by raising the stat input, the hip7010 sends the contents of the status register to the host and simultaneously loads the control register with the byte received from the host. status register the status register contains eight, read-only, status bits. b7, eod when an eod symbol has been received on vpwin and an ifr byte is received from the j1850 bus, the end-of-data ?ag (eod) is set, dur- ing the unsolicited transfer of the byte from the hip7010 to the host. eod remains set, until the unsolicited transfer of the ?rst byte of the next frame. eod can be used to distinguish the ifr portion of a frame from the message portion. eod is cleared by reset. b6, mack if mack (multi-byte acknowledge) is high, either the mack control bit has been set during a previ- ous status/control register transfer or a long nor- malization bit has been received following an eod. when both mack is set and the eod ?ag (see b7, eod) is set, the most recent data byte transferred is part of a type 3 ifr. the value of mack is only relevant if eod = 1. mack remains set until the unsolicited transfer of the ?rst byte of the next frame. mack is cleared by reset. 76543210 eod mack 0 ftu 4x crc err brk hip7010
12 b5, 0 bit 5 of the status byte is not used and will always read as a 0. b4, ftu when first time up (ftu) is high, it indicates that a reset has occurred since the last sta- tus/control register transfer. ftu is high during the ?rst status/control register transfer after a reset and low thereafter. ftu can be used to recognize that a slow clock detect reset has occurred or to ensure that a sta- tus/control register transfer has been success- fully completed since the last reset. b3, 4x the 4x status ?ag indicates that the 4x mode bit has been set in the control register. this bit re?ects the contents of the control register not the current mode of the hip7010s sendec. the sendec only changes modes synchronously with an edge detected on the vpwin pin. see description of the 4x control bit for details. 4x is cleared by reset and the trailing edge of a break. b2, crc the crc error ?ag (crc) is set when a crc error has been detected in the current frame. crc is cleared by reset and at the conclusion of the status/control register transfer. b1, err the error ?ag (err) is set when an illegal symbol or other, non-crc error has been detected on the vpwin pin. following are some of the many errors which will cause err to be set: 1. an illegal sym- bol, (i.e., a symbol other than a tv1, tv2, or break in the middle of a data byte); 2. receipt of a trun- cated byte (i.e., less than 8 symbols); 3. the host attempting to initiate a message more than 96 m s after the idle line goes high; 4. an improperly framed message (i.e., sof not equal to tv3, wrong eod, eof, or nb widths); 5. failure by the host to use the long form of rdy to indicate the last byte of a message; 6. an attempt by the host to transmit a single byte (type 1 or type 2) ifr by setting ack but without using the long form of rdy for the byte transfer; 7. setting the host asserting stat during a data byte transfer; 8. a transition has occurred on the vpwout pin and the re?ected transition has not been detected on vpwin (echo fail). err is cleared by a reset and at the conclusion of the status/control register transfer. b0, brk the break ?ag (brk) is set on the ?rst rising edge of vpwin after a brk symbol has been detected on the j1850 bus. if the host was transmitting or has a message to transmit, it should re-arbitrate for the bus following an ifs ( idle goes low). brk automatically clears the 4x mode of the sen- dec and resets the 4x bit in the status byte. brk is cleared by a reset or at the conclusion of the status/control register transfer. control register the control register contains eight, write-only, control bits. the pd, nxt, mack, and ack bits can only be set high; they are cleared by hardware under speci?c conditions. the other four bits can be both set and reset by the host. all bits in the control register are cleared by reset. b7, ack setting the acknowledgment (ack) bit signals the hip7010 that, following the eod, an ifr response is to be sent. once set, the ack bit can- not be cleared by the host. ack is cleared upon successful transmission of the ifr or at the next idle. the ack bit can be set anytime prior to 135 m s after the ?nal byte (the crc) of a message. the ?rst ifr byte must be loaded into the hosts serial output register, and the rdy line set after the hip7010 transfers the next-to-last byte to the host, and before the hip7010 transfers the last byte (crc) of the j1850 message to the host. when the crc byte is sent to the host from the hip7010, the ifr byte will be simultaneously loaded into the hip7010. to send a single byte (type 1 or type 2) ifr the host must leave mack (b6 of the control regis- ter) low and use the long rdy line format. when sending a single byte (type 1 or type 2) ifr, the possibility of losing arbitration exists. in the case of a type 1 ifr no further action should be taken. the standard protocol for handling loss of arbitration during a type 2 ifr is to re-attempt the transmission until successful. to ensure proper transmission of the ifr the host must repeatedly load its serial output register with the desired ifr byte, and set rdy (using the short format), until the ifr has been properly received back. there is no danger of inadvertently sending the ifr byte twice. the hip7010 monitors the arbitration results and will transmit the ifr byte only once. the ack bit is automatically cleared upon the ?rst successful transmission, thus pre- venting a second transmission. the host controls when the ack bit is set. during normal operation the host must only set ack once per ifr. to send a type 3 ifr the host must set mack high and use the short format of the rdy for all bytes except the last, when the long format is used. a crc will automatically be appended to the last byte of a type 3 ifr. a type 3 ifr, con- sisting of a single byte plus crc, can be created by setting mack high and using the long rdy line format for loading the single data byte. when sending a type 3 ifr, the possibility of los- ing arbitration during the ifr also exists. in the case of type 3 ifrs, once arbitration has been 76543210 ack mack nxt pd 4x ds2 ds1 ds0 hip7010
13 lost the host no longer needs to continue transmit- ting bytes. as in the case of type 2 ifrs, the host cannot know arbitration has been lost until after the next byte to transmit has been loaded. again, there is no danger of sending extra bytes because the hip7010 automatically suspends transmissions once arbitration is lost. b6, mack the multi-byte acknowledge (mack) bit, in con- junction with the ack bit, signals the hip7010 that, following the eod, a type 3 ifr with crc response is to be sent. once set, the mack bit cannot be cleared by the host. mack is cleared upon detection of an idle following the transmis- sion of the ifr. setting mack without also setting ack will result in no ifr being transmitted. the mack bit can be set anytime prior to 135 m s after the ?nal byte (the crc) of a message. the ?rst ifr byte must be loaded into the hosts serial output register, and the rdy line set after the hip7010 transfers the next-to-last byte to the host, and before the hip7010 transfers the last byte (crc) of the j1850 message to the host. when the crc byte is sent to the host from the hip7010, the ?rst ifr byte will be simultaneously loaded into the hip7010. to send a type 3 ifr the host uses the short format of the rdy for all bytes except the last, when the long format is used. setting the mack bit in the control register is not immediately re?ected in the mack bit of the status register. the status bit is updated following each data transfer. b5, nxt if the wait for next idle (nxt) bit is asserted high during a status/control register transfer, the hip7010 state machine is re-initialized to a wait for idle state. the vpwout pin is driven low and the idle pin is reset high. activity on the vpwin pin is ignored until a valid idle is detected. when nxt is asserted the idle pin will go high for a min- imum of 6 m s. if the bus is idle at the end of the 6 m s period, idle will be driven low and the hip7010 will be ready to transmit or receive a j1850 mes- sage. if the bus is not idle, current activity on the vpwin pin is ignored until a new idle is detected. the nxt bit enables the host to ignore the bal- ance of the current message. unsolicited transfers from the hip7010 are guaranteed not to occur until the next idle occurs. transfers resume following the ?rst byte of the next message. b4, pd the power-down (pd) bit is used to halt internal clocks to the hip7010 to minimize power. a low level on the vpwin, a low to high edge on the stat pin, or a high level on the rdy pin will clear the pd bit and normal hip7010 functions will resume. pd can only be set if the idle pin is low or during the ?rst status/control register transfer following a reset. the clk input is internally gated off at the end of the status/control register transfer. there are two situations which can cause the pd bit to be cleared prematurely: 1. the rdy input is high during the status/control register transfer (since this is under control of the host it should be avoided); 2. a noise pulse of less than 7 m s dura- tion occurs on the vpwin line. if either of these situations occur, the pd will be cleared, the hip7010 will resume operating and look for a valid edge on vpwin, rdy, or stat. if no valid edge has occurred the hip7010 will recy- cle to the top of the state machine, pulsing idle high for a minimum of 2 m s. it is the responsibility of the host to monitor the idle pin after setting pd to ensure that the power-down mode has been successfully entered. see effects of resets and power-down for a detailed discussion of the power - down mode. b3, 4x s etting the high speed mode (4x) bit causes the hip7010s sendec to decode symbols received on the j1850 bus at 0.25x the normal durations. the 4x mode is designed to allowed receipt of mes- sages at 4x the normal j1850 rate. it is intended for manufacturing and diagnostic use, not normal down the road vehicle communications. transmis- sion is inhibited while the 4x bit is set. the 4x bit can only be written to when the idle pin is low or during the ?rst status/control transfer following a reset. setting 4x is inhibited during the ?rst status/control after a break. the sendec begins operating at the 4x rate upon receipt of the next edge. the system must provide suf?cient time for all nodes to detect the idle, interpret the shift to high speed message, and change their mode bits before issuing a high speed sof. 4x is cleared by receipt of a break symbol on the j1850 bus and it can also be cleared by perform- ing a status/control register transfer with the 4x bit low. when cleared via a status/control regis- ter transfer, idle must be low. the sendec reverts to operating at the normal rate upon receipt of the next edge. 4x mode cannot be utilized for transmitting mes- sages. vpwout is disabled in hardware, but the state machine will attempt to transmit if rdy is strobed. it is the hosts responsibility to refrain from transmitting in 4x mode. b2, ds2, b1, dsi, b0, dsi the three divide select bits (ds2-ds0) are used to match the internal clock divider with the input frequency on the clk input to produce the required 2mhz internal time base. table 3 shows the clock divide values and nominal input fre- quency for the eight combinations of ds2-ds0. hip7010
14 during a hip7010 reset caused by a por, a slow clock detect, or a low on the reset line, the clock divider is inhibited and a ?xed divide-by six- teen clock divider is activated. this is greater than any selectable divide-by and guarantees proper operation of the serial interface for all valid oper- ating frequencies (although the transfer rate will be below 1mhz). the clk divide-by remains at six- teen and operation of the hip7010 is suspended until the host performs a status/control register transfer to set the proper divide value. the state machine and sendec are held in a reset state (passive) until the ?rst status/control register transfer has been completed. this ensures proper setting of the divide selects prior to generation or receipt of any symbols. once ds2-ds0 have been set following a reset, they must not be altered. each status/control reg- ister transfer must properly reassert the same ds2-ds0 values to maintain proper clocking. selecting a ds2-ds0 combination which is too low for the given clk frequency can result in loss of serial communications, due to excessive clock- ing rates. in such instances the only recovery mechanism is to force a hip7010 reset by pulling the reset input low, interrupting the clk input, or performing a power-on reset. a well behaved host will avoid changes to ds2-ds0. system fault toler- ance can be maximized by using the lowest possible frequency at the clk input. power-down does not reset ds2-ds0, allowing rapid wake-up from the power-down state. symbol encoder/decoder (sendec) operation the symbol encoder/decoder (sendec) hardware inte- grated in the hip7010 handles generation and reception of j1850 messages on a symbol by symbol basis. symbols are output from the sendec, as a digital signal, on the vpwout pin and input, as a digital signal, on the vpwin pin. these two lines must be connected through a bus transceiver (such as the intersil j1850 bus transceiver hip7020) to the single wire j1850 bus. the transceiver is responsible for generating and receiving waveforms consistent with the physical layer speci?cations of j1850. in addition, the transceiver is respon- sible for providing isolation from bus transients. every symbol sent out on the vpwout is, in effect, inverted and re?ected back on the vpwin pin after some ?nite delay through the transceiver. in actuality, only active symbols are guaranteed to be re?ected unchanged. if the transmitted symbol is passive and another node is simultaneously send- ing an active symbol, the active symbol will dominate and pull the bus to a high level. the sendec circuitry includes a 3-bit digital ?lter which effectively ?lters out noise pulses less than 7 m s in duration. the state logic transfers data bits between the serial system and the sendec, and handles addition of required frame elements such as the sof symbol and the crc byte. when transmitting bytes, bits are taken from the serial shift register and translated into the required symbols, bit by bit. timing of each symbol is calculated from the last transition on the vpwin line which keeps all nodes on the j1850 bus in synch during arbitration periods. decoding of received symbols is automatically performed by the sendec. the decoded symbol is translated to a 0 or 1 value and transferred by the state logic into the serial shift register. as each symbol is decoded, it is shifted into the serial shift register and, if transmitting, the next bit to transmit on the j1850 bus is shifted out. once an entire byte has been loaded into the serial shift register the state logic automati- cally generates an unsolicited transfer of the byte to the host. whenever the sendec is transmitting, it is simultaneously monitoring the re?ected symbol on the vpwin line. at each transition the re?ected symbol is read and compared to the sent one. if the re?ected symbol doesnt match the sym- bol sent, a collision has occurred and the hip7010 automati- cally disables transmissions until the next idle/ifr period. if there was no collision, the hip7010 continues transmitting until the entire byte has been sent. once the byte has been sent, a full byte will also have been re?ected and received by the hip7010. as discussed above, the hip7010 initiates a transfer of the received byte to the host, which allows the host the opportunity to compare the sent and re?ected bytes, and to transfer the next byte of the message. in addition to features already discussed, the sendec includes, noise detection, idle bus detection, a wake-up facil- ity, no echo detection, and a high speed receive mode. sym- bol timing is based on the main clk input. the programmable prescaler, controlled by the ds0-ds2 bits in the control reg- ister, allows proper sendec operation with a variety of clk input frequencies (see ds2-ds0 under status/control reg- ister for prescaler details). the high speed mode is a j1850 extension which allows production and/or maintenance equip- ment to transmit messages at 4x the normal 10.4kbps rate (see 4x under status/control register for prescaler details). software algorithms can be implemented in the host to pro- vide message buffering and ?ltering and other needed fea- table 3. ds2-ds0 clock divider selections ds2 ds1 ds0 clk input freq. (mhz) internal hip7010 clk divide-by 0 0 0 24 (note 1) 12 001 12 6 0 1 0 20 (note 1) 10 011 10 5 1 0 0 16 (note 1) 8 101 8 4 110 4 2 111 2 1 note: 1. invalid operating frequency. hip7010
15 tures to create a complete j1850 vpw node. see the applications information section for typical algorithms. the state machine logic (state) the state machine logic (state) of the hip7010, is a sequential state machine implementation of the j1850 vpw data link layer. state controls data ?ows within the hip7010 and between the host and the j1850 bus. when receiving messages, state monitors the input from the sendec, building byte sized chunks to send to the host. as each byte is assembled, state transfers the result to the host via the serial interface, as an unsolicited transfer. upon receipt of a complete message (recognized by eod), state veri?es both the crc and bit counts and sets appropriate status register ?ags. when transmitting messages from the host to the j1850 bus, state waits for the ?rst rdy input transition, after which it retrieves the ?rst byte from the host and initiates the message with an sof. each bit of the hosts message byte is transferred to the j1850 bus via the sendec. when the transfer of a byte is complete, state checks for a new rdy (if there is one), retrieves the associated byte, and again transfers the byte via the sendec to the j1850 bus. after retrieving each byte from the host, state checks to see if the long rdy format was used, which indicates this is the end of the hosts message. if the message is complete, state transfers the ?nal byte to the j1850 bus and then, automatically, sends the computed crc to the j1850 bus. throughout the transmission of a message from the host to the j1850 bus, state monitors the symbols re?ected back via the sendec and handles all bus conditions such as loss of arbitration, illegal bits, break, bad crc, and missing bits. state also catches host errors including failure to set the rdy line in time for the next byte transfer, attempting to ini- tiate a new message more than 96 m s after idle has gone away, and inappropriate use of the stat line (i.e., requesting a status/control register transfer during an unsolicited transfer of the re?ected data). in 4x mode vpwout is disabled in hardware, but state will attempt to transmit if rdy is strobed. this results in state clearing idle and waiting for the leading edge of sof. since vpwout is blocked state will only recover if another nodes sof is received or nxt is set. it is the hosts responsibility to refrain from transmitting in 4x mode. the control register bits in?uence state. if ack is set, state handles sequencing of the requested ifr. the ?ow consists of waiting for an eod, sending the appropriate nor- malization bit (type 1/2 vs type 3 ifr), transferring the ifr byte(s) from the host to the j1850 bus, handling arbitration, and ?nally adding the crc to type 3 ifrs. as with normal transmissions, state contains error handling to react appro- priately to all j1850 bus conditions. detection of an idle on the bus causes state to set the idle pin. state clears the idle pin upon receipt of a transition on the vpwin line or when the host initiates a new message. detection of a break on the j1850 bus causes an interrupt input to state which causes the hip7010 to cease any cur- rent transmission and enter a wait for idle mode. effects of resets and power-down resets a power-on reset, a slow clock detect reset, and a low on the reset pin all have an identical effect on the operation of the hip7010. all resets are asynchronous and immediately do the following: ? vpwout is forced low. ? the hip7010 is set to restart mode . ? the internal divide-by is set to sixteen and held at that value until the restart mode ends. ? sa ctive is forced high and sck and sout are set to a high impedance state. ? the ack, mack, nxt, pd, and 4x bits are cleared in the control register. ? all status register bits are cleared (except bit 4, ftu, which is set to a 1). ? idle is forced high and held high for 17 clks after the source of the reset is removed. after 17 clks, idle is forced low. idle remains low until 40 clks +1.5 m s after the ?rst status/control register transfer. ? the sendec is reset, holding the symbol timer at a count of 0 and clearing the 3-bit vpwin ?lter to all 0s, until the restart mode ends. ? state is held in a reset loop until the restart mode ends. while state is in the reset loop, transitions on the rdy pin are ignored. the restart mode is entered by any reset and ends when the ?rst status/control register transfer has been com- pleted. upon exiting the restart mode the hip7010 enters its normal run mode . this is re?ected in the clearing of the ftu bit of the status register. when the restart mode ends and the run mode begins, the internal divide-by is set to the value programmed via ds2-ds0 in the control register. the idle pin is driven high after 40 clks, the sendecs counter and vpwin ?lter begin operating, and state begins monitoring the outputs of sendec looking for an idle. the hip7010 remains in run mode until another reset occurs or the power-down mode is entered. power-down the power-down mode of the hip7010 is entered by set- ting the pd bit in the control register (see control register for more information). setting the pd bit can only be done when the hip7010 is driving the idle pin low. once set, the pd forces the hip7010 to the power-down mode 2 m s after the completion of the status/control register transfer. while in the power-down mode the clk input is internally gated off, minimizing power dissipation. the slow clock detect is inhibited while in the power-down mode. a return to the run mode from the power-down mode is normally caused by a low level on vpwin. during power- hip7010
16 down the input signal is not ?ltered via the 7 m s digital ?lter (no clocks are available to drive the digital ?lter). without ?ltering in place it is possible for a noise spike, less than 7 m s wide, to wake-up the hip7010. in such a case the hip7010 returns to run mode, but the spike is rejected by the now running, digital ?lter and the bus continues in the idle state. to notify the host when such spurious wake-ups occur, state monitors the out- put of the digital ?lter and if, within 12 m s after the wake-up, the digital ?lter doesnt indicate vpwin is low, state pulses idle high for 2 m s and then drives it low again. the hip7010 is now in the run mode. it is the responsibility of the host to recognize the pulse on the idle pin and set pd in the control register to reenter the power-down mode. in systems where the host directly monitors the vpwin pin during power-down, moni- toring the idle pin may not be necessary. one of the mechanisms to exit power-down is to provide a high level on the rdy pin. since this is a level sensitive event the host must ensure that rdy is not already high when the pd bit is set in the control register. a well behaved host will control this properly. however, in the event rdy is high when pd is set, a 12 m s time-out will occur similar to that described for waking-up with a noise pulse on vpwin. after the time- out, idle will pulse high for 2 m s then low again. the host should react to this pulse appropriately. test mode overview when the test pin of the hip7010 is driven high, it modi- ?es the operation of the blic in two ways: 1. it inhibits receipt of bus signals on the vpwin pin and internally routes the vpwout signal to the vpwin input. during this loopback mode of operation the vpwout pin will continue to operate . 2. the state machine which controls the operation of the hip7010 is extended to include a special test sequence. the test sequence can only be entered from one loca- tion in the normal state machine ?ow. this point can con- veniently be reached following reset of the blic or by setting the nxt bit in the blics control register. entering the test sequence entry into the test sequence of the blics state machine requires that the test pin is high and the state machine is at its start. the state machine will always pass through its starting point at certain identi?able times: 1. following the ?rst status/control transfer after a reset 2. following completion of a j1850 message (i.e., after eod) 3. following abortion of a message frame due to noise, bad symbol, bad crc, receipt of a break, etc. 4. following setting of the nxt bit in the control register as are all states, the starting point is a transitory state. once entered, the state machine will remain at its start only until the bus has been low for a tv4 min (i.e., eof, 239 m s). to ensure proper synchronization, the test sequence should generally be entered only after a reset or after setting the nxt bit in the blics control register. test block 1 once the test sequence has been entered, idle will go low. once idle has gone low, each time that rdy is pulsed (with the short form of rdy) it will result in an exchange of data between the hosts spi register and the blics data register. following a reset, the blics data register will con- tain $00. for all other exchanges during the test sequence the blic will give back to the host the byte it supplied during the prior exchange. during each exchange the idle pin will go high and return low when the exchange is complete. fol- lowing each exchange the host should query the blics sta- tus register by pulsing s tat. all ?ags should be clear. this section of the test sequence not only checks proper operation of the serial register of the blic, the test, idle, rdy, and stat pins but it also does an internal veri?cation of >70% of the inputs of the blics state machine. test block 2 the test sequence can now be exited by lowering test and setting the nxt bit in the control register, or the second portion of the test sequence can be invoked by leaving test high and doing one last transfer of an $ff using the long form of rdy. following this exchange the blic will send a high tv2 followed by a low tv1 followed by a high noise pulse (to prevent bus interference the hip7020 transceiver should be in loopback mode during this sequence). following the noise pulse, the state machine will return to the start of the test sequence and idle will go low. if all tests were suc- cessful the err bit should be set in the status register (due to the noise pulse) and the serial data register should have been set to $00 (done following the tv1). this can be veri?ed by doing a stat transfer followed by a rdy transfer. normally the test sequence would now be exited by lowering test and setting nxt in the control register. the second block of the test sequence boosts the number of tested state machine inputs to over 90%. using test for loopback operation whenever test is high the blic is operating in loopback mode. this provides a convenient means to isolate faults between the bus, the transceiver, and the blic. it also sim- pli?es extended testing of the blics symbol genera- tion/detection, message handling and crc generation/detection logic. to isolate module faults from bus faults: place the hip7020 transceiver in loopback (by lowering lbe) and send a mes- sage. verify the message and crc are properly re?ected and the status bits are clear. if all are good, the fault can be assumed to be on the output of the transceiver or on the bus itself. if all are not good, leave the transceiver in loopback and place the blic in loopback (to place the blic in loop- back, wait for idle to go low and then raise test) and send a message again verifying that the message and crc are properly re?ected and that the status bits are clear. if all are good the transceiver or vpwout or vpwin of the blic are faulty. if all are not good the fault is either internal to the blic or is a problem with the host/blic interface. if the test sequence can be properly run the problem has been iso- lated to an internal fault of the hip7010. hip7010
17 error handling the status register the various ?ags in the status register can be used to detect many errors which would typically be generated by system noise, errant nodes, or improperly designed host code. it is good practice to maintain error counts in the host for service reporting and to trigger recovery procedures. whenever the err or crc are set in the status register, the current message is aborted and the blic enters a wait for idle mode. following is a detailed listing of the errors which can be trapped by reading the status register. errors which set the err flag the err ?ag will be set whenever: 1. a noise pulse (i.e., a symbol less than tv1 min ) is received - including while waiting for an idle. 2. an illegal symbol, (i.e., a symbol other than a tv1, tv2, or break) is received in the middle of a message which is being received or transmitted. 3. a message with an incomplete byte is received (i.e., total data bit count not equal to 0 modulo 8). 4. the host attempts to initiate a message more than tv2 min (96 m s) after the idle line goes high. 5. an improperly framed message is received (i.e., sof not equal to tv3, wrong eod, eof, or nb widths). 6. an sof occurs less than tv4 after the end of a type 0 message. 7. while transmitting a message that the host fails to assert rdy prior to a data transfer. 8. the host fails to use the long form of rdy to indicate the last byte of a message. 9. the host attempts to transmit an ifr by setting ack but fails to assert rdy prior to 135 m s after the crc. 10. the host attempts to transmit a single byte (type 1 or type 2) ifr by setting ack but without using the long form of rdy for the ?rst byte transfer. 11. the host asserts stat during a data byte transfer. 12. while transmitting, a status/control register transfer is in progress when a data byte transfer begins. 13. a transition has occurred on the vpwout pin and the re?ected transition has not been detected on vpwin (echo fail). 14. a failure occurs during test mode. 15. a low pulse <7 m s occurs on vpwin during the power- down mode. errors which dont set the err flag due to various considerations, some errors which the user might otherwise expect to be trapped by err are not. these include: 1. a zero length message (sof followed by eod) will not set err, but will set the crc ?ag. 2. any symbol, other than a noise pulse, is ignored while waiting for an idle. that is to say that the current message is discarded. waiting for idle happens following: reset, setting of nxt, any error which sets err (except asserting stat during a data transfer), a crc error, a break, or fol- lowing eod after a type 1, 2, or 3 message. 3. after a type 1, 2, or 3 message, a second nb or an sof for a new message received before eof will be ignored. any following symbols will be ignored until eof is detected. this implies that if two messages appear on the bus with less than an eof between them the second mes- sage will be ignored, but no error generated. similarly, if an ifr is attached to a message after eod and a second nb is generated an eod after the initial ifr, the nb and all succeeding symbols will be ignored until idle is detected. no error will be generated. errors which set the crc flag the crc ?ag will be set whenever: 1. the crc check byte of the body of any type message is bad (any ifr will be aborted/ignored). 2. all components of a type 3 message frame are good except the ifrs crc check byte. 3. a zero length message (sof followed by eod) is received. host time-outs other classes of errors, including catastrophic failure of the j1850 bus, can sometimes only be detected by monitoring the time between successfully received messages and/or the delay between idles - when the time exceeds some limit the host assumes that a bus fault exists and attempt to iso- late the cause (perhaps using the test pin) and perform recovery/limp home actions. error recovery if errors are detected on multiple occasions or a host time- out occurs, the blic should be reset by lowering reset or stopping the clk (or setting nxt if the reset or clk pin is not controllable), and ds2-0 should be re-initialized in the control register. if resetting the blic doesnt eliminate the error condition, a test procedure should be entered using test and loopback modes. hip7010
18 0.1 m f c1 m1 hip7010 blic bus out bus in batt gnd r f r bus c bus r s j1850 bus rx tx j1850 bus transceiver 43v r/f lb en mov vpwin vpwin 15k w 57k w sa ctive sin sout sck ss miso mosi sck pa 0 pa 1 rdy stat pa 2 reset tcap idle pa 3 oscout clk test +5v 6805 microcontroller r o 10 w 5.1k w 11k w /1k w 330/3300pf 0.01 m f c3 0.01 m f c2 figure 8. hip7010
19 hip7010 notes: 1. controlling dimensions: inch. in case of con?ict between english and metric dimensions, the inch dimensions control. 2. dimensioning and tolerancing per ansi y14.5m - 1982. 3. symbols are defined in the mo series symbol list in section 2.2 of publication no. 95. 4. dimensions a, a1 and l are measured with the package seated in jedec seating plane gauge gs - 3. 5. d, d1, and e1 dimensions do not include mold flash or protru- sions. mold flash or protrusions shall not exceed 0.010 inch (0.25mm). 6. e and are measured with the leads constrained to be per- pendicular to datum . 7. e b and e c are measured at the lead tips with the leads uncon- strained. e c must be zero or greater. 8. b1 maximum dimensions do not include dambar protrusions. dambar protrusions shall not exceed 0.010 inch (0.25mm). 9. n is the maximum number of terminal positions. 10. corner leads (1, n, n/2 and n/2 + 1) for e8.3, e16.3, e18.3, e28.3, e42.6 will have a b1 dimension of 0.030 - 0.045 inch (0.76 - 1.14mm). c l e e a c e b e c -b- e1 index 1 2 3 n/2 n area seating base plane plane -c- d1 b1 b 0.010 (0.25) c a m b s e d d1 a a2 l a1 -a- e a -c- dual-in-line plastic packages (pdip) e14.3 (jedec ms-001-aa issue d) 14 lead dual-in-line plastic package symbol inches millimeters notes min max min max a - 0.210 - 5.33 4 a1 0.015 - 0.39 - 4 a2 0.115 0.195 2.93 4.95 - b 0.014 0.022 0.356 0.558 - b1 0.045 0.070 1.15 1.77 8 c 0.008 0.014 0.204 0.355 - d 0.735 0.775 18.66 19.68 5 d1 0.005 - 0.13 - 5 e 0.300 0.325 7.62 8.25 6 e1 0.240 0.280 6.10 7.11 5 e 0.100 bsc 2.54 bsc - e a 0.300 bsc 7.62 bsc 6 e b - 0.430 - 10.92 7 l 0.115 0.150 2.93 3.81 4 n14 149 rev. 0 12/93
20 all intersil semiconductor products are manufactured, assembled and tested under iso9000 quality systems certi?cation. intersil products are sold by description only. intersil corporation reserves the right to make changes in circuit design and/o r speci?cations at any time without notice. accordingly, the reader is cautioned to verify that data sheets are current before placing orders. information furnishe d by intersil is believed to be accurate and reliable. however, no responsibility is assumed by intersil or its subsidiaries for its use; nor for any infringements of p atents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of intersil or its subsidiaries. for information regarding intersil corporation and its products, see web site http://www.intersil.com sales of?ce headquarters north america intersil corporation p. o. box 883, mail stop 53-204 melbourne, fl 32902 tel: (407) 724-7000 fax: (407) 724-7240 europe intersil sa mercure center 100, rue de la fusee 1130 brussels, belgium tel: (32) 2.724.2111 fax: (32) 2.724.22.05 asia intersil (taiwan) ltd. taiwan limited 7f-6, no. 101 fu hsing north road taipei, taiwan republic of china tel: (886) 2 2716 9310 fax: (886) 2 2715 3029 hip7010 notes: 1. symbols are de?ned in the mo series symbol list in section 2.2 of publication number 95. 2. dimensioning and tolerancing per ansi y14.5m - 1982. 3. dimension d does not include mold flash, protrusions or gate burrs. mold flash, protrusion and gate burrs shall not exceed 0.15mm (0.006 inch) per side. 4. dimension e does not include interlead flash or protrusions. in- terlead flash and protrusions shall not exceed 0.25mm (0.010 inch) per side. 5. the chamfer on the body is optional. if it is not present, a visual index feature must be located within the crosshatched area. 6. l is the length of terminal for soldering to a substrate. 7. n is the number of terminal positions. 8. terminal numbers are shown for reference only. 9. the lead width b, as measured 0.36mm (0.014 inch) or greater above the seating plane, shall not exceed a maximum value of 0.61mm (0.024 inch). 10. controlling dimension: millimeter. converted inch dimen- sions are not necessarily exact. index area e d n 123 -b- 0.25(0.010) c a m b s e -a- l b m -c- a1 a seating plane 0.10(0.004) h x 45 o c h 0.25(0.010) b m m a small outline plastic packages (soic) m14.15 (jedec ms-012-ab issue c) 14 lead narrow body small outline plastic package symbol inches millimeters notes min max min max a 0.0532 0.0688 1.35 1.75 - a1 0.0040 0.0098 0.10 0.25 - b 0.013 0.020 0.33 0.51 9 c 0.0075 0.0098 0.19 0.25 - d 0.3367 0.3444 8.55 8.75 3 e 0.1497 0.1574 3.80 4.00 4 e 0.050 bsc 1.27 bsc - h 0.2284 0.2440 5.80 6.20 - h 0.0099 0.0196 0.25 0.50 5 l 0.016 0.050 0.40 1.27 6 n14 147 a 0 o 8 o 0 o 8 o - rev. 0 12/93


▲Up To Search▲   

 
Price & Availability of HIP7010B

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X